package net.zjitc.mapper;

import net.zjitc.pojo.Products;
import net.zjitc.vo.ProductVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/5/21 10:16
 */
@Repository
public interface ProductMapper {
    List<Products> findAll();

    int add(Products products);

    void delete(String id);

    Products findById(String id);

    int update(Products products);

    List<Products> search(ProductVo productVo);
}
